package com.rockcent.service;

import com.rockcent.mall.lib.domain.UserInfo;
import com.rockcent.mall.lib.dto.UserInfoDto;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by hone on 17-3-13.
 */
public interface AuthUserService {
    /**
     * @param userInfo
     * @param request
     * @return
     */
    UserInfoDto login(UserInfo userInfo, HttpServletRequest request);

    UserInfoDto getManager(Long userId, String domain, String userToken,Long merchantId);
}
